home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / stopcps.lha / STopCPS / Example_LogoffScript next >
AmigaDOS Script File  |  1993-01-01  |  1KB  |  35 lines

  1. .key NODE
  2.  
  3. SAmiLog -USC"<NODE>" -O"bbs:node<NODE>/amilog.bull"10 -ON"bbs:node<NODE>/amilog.bull_NA"10
  4. STopCPS -U"<NODE>"
  5.  
  6. IF EXISTS S:TAS.SCRIPT
  7. BBS:UTILS/THRASHTOP >BBS:CAL/BULL100.TXT.GR L S:TTOP_HEADER.GR T BBS:USER.DATA 010 2
  8. BBS:UTILS/THRASHTOP >BBS:CAL/BULL100.TXT L S:TTOP_HEADER S T BBS:USER.DATA 010 2
  9. RX ADDER.REXX
  10. ENDIF
  11.  
  12. REXX:DIRDATE.EXE
  13.  
  14. COPY BBS:CAL/BULL100.TXT BBS:CAL/BULL250.TXT
  15. COPY BBS:CAL/BULL100.TXT.GR BBS:CAL/BULL250.TXT.GR
  16.  
  17. ;= END OF LOGOFF SCRIPT =;
  18. ; As you can see, I only UPDATE the storage file every logoff. (YOU MUST)
  19. ; I don't actually update the output file, because I have my TopCPS list
  20. ; in a bulletin which is shown using my BullView door which was released
  21. ; nearly a year ago in the P0T-TRIX.DMS archive of doors! This Door
  22. ; updates the bulletins before showing them to the user so that no time
  23. ; is wasted updating a bulletin when noone wants to look at it.
  24. ;
  25. ; The commandline I use to update is:
  26. ; StopCPS -OU"DOORS:BULLVIEW/BULL.2"15
  27. ; To Output the top 15 transfers to Bull.2 with UpperCase filenames
  28. ;
  29. ; I leave it to you to work out how you wanna update the Output file.
  30. ; If you don't have a decent BullView door or a CRon runner you can
  31. ; always update the Output file every logoff at the same time as you
  32. ; update the storage file. Use command stacking:
  33. ; STopCPS -U"<NODE>" -OU"ANSI_OUT"15 -ONU"ASCII_OUT"15
  34. ; or something similar!
  35.